package org.arnetminer.personalized.service;

import java.util.List;

import org.arnetminer.personalized.vo.Event;
import org.arnetminer.personalized.vo.EventType;
import org.arnetminer.personalized.vo.Notification;
import org.arnetminer.personalized.vo.User;

public interface EventService {
	public boolean save(Event event);
	
	public EventType getEventType(long id);
	
	public List<Event> getEventsByProperties(final List<String> properties, final List values, final int start, final int max);
	
	public boolean notify(Notification notification);
	
	public List getUserNotification(User user, int start, int max);
	
	public List<Notification> getNotificationsByProperties(final List<String> properties, final List values, final int start, final int max);
	
	public boolean deleteNotification(long id, User user);
	
	public boolean deleteEventByEventId(long id);
}
